package server.core.base;

public class Airplane extends EntityBase{	
	/**
	 * 
	 */
	private static final long serialVersionUID = -3027867584108164707L;
	private String name;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	private int capacity;
	public int getCapacity() {
		return capacity;
	}
	public void setCapacity(int capacity) {
		this.capacity = capacity;
	}

	public Airplane(String name,int capacity) {
		this.name=name;
		this.capacity=capacity;
	}
	
	public String toString(){
		return   "id: "+getId()
				+", Name: "+getName()
				+", Capacity: "+getCapacity();
	}

}
